package com.genntii.examManager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.genntii.examManager.domain.entity.UserSalt;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserSaltMapper extends BaseMapper<UserSalt> {

    @Select("select * from user_salt where user_id = #{userId}")
    UserSalt getUserSalt(@Param("userId")Long userId);

}
